
const mongoose = require("../utils/DBUtil");
//创建班级的数据结构
let classSchema =new mongoose.Schema({
    name:String,
    nums:Number,
    createTime:Date
}) 
//创建班级的数据模型
let classModel = mongoose.model("classModel",classSchema,"classes")
//导出班级的数据模型
module.exports=classModel;



